package com.ideaction.req;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Map;

/**
 * 接收body 对象基础父类
 *
 * @author ZGame
 */
@Getter
@Setter
public abstract class BaseReq {
    
    @JsonProperty("UserID")
    private String userId;
    
    // 参数map
    @JsonProperty("ParamMap")
    private Map<String, String> paramMap;
    
    public String getParam(String key) {
        return paramMap.get(key);
    }
}
